/*
 * Copyright (c) 2018, ZeeSec Technologies. All rights reserved.
 * ZeeSec PROPRIETARY/CONFIDENTIAL.
 */

package springtest.ember;

import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZhiQiang Chen
 * @date 2018-11-05 11:00:08
 */
@RestController
public class Controller {

    // @RequestMapping("/test/ember")
    // @ResponseBody
    // public JsonWrapper test() {
    // Map<String, String> map = new HashMap<>();
    // map.put("aa", "aa");
    // map.put("bb", "bb");
    // map.put("cc", "cc");
    // aaa aaa = new aaa("test1", "aa");
    // aaa bbb = new aaa("test2", "bb");
    // List<aaa> list = new ArrayList<>();
    // list.add(aaa);
    // list.add(bbb);
    // System.out.println(map);
    // return new JsonWrapper(list);
    // }

    class aaa {
        private String name;
        private String title;

        public aaa(String name, String title) {
            this.name = name;
            this.title = title;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

    }

}
